md extensions
cd extensions

IF EXIST cocos-framework (
goto update
) ELSE (
goto clone
)

:clone
git clone git@gitee.com:chen-yang-kun/cocos-framework.git

:update
cd cocos-framework
git pull